In-Reply-To: <9401030925.AA22091@issan.informatik.uni-dortmund.de> from "Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>," at Jan 3, 94 10:25:31 am
Hello Andreas,
> Many thanks for this implementation of a resizable ramdisk. I love it.
> But nothing is so good that is cannot be improved :-). The biggest
> disadvantage is that the contents of one file are allocated in one
> block. I have changed this to allow at most six segments. Now i can
> even copy cc1plus (1201400 bytes) into the ramdisk :-).
Many people were asking for this "feature" allowing Ramfs to grab memory
even when it is fragmented. I didn't implement it, for several reasons
(laziness, above all). The fact that 1 file == 1 block caused some
fragmentation because this block had to be reallocated from time to
time, but at least the number of allocated blocks was bounded by the
total number of files. If files can be split, this could cause much
more memory fragmentation.
> I have also made some more changes and improvements:
>
> - file names are now case sensitive. A program that creates a tempory
> file and then fiddles with the case of the name deserves to be